package com.chenfan.mcn.mq.message;

import com.alibaba.fastjson.annotation.JSONType;
import com.chenfan.mcn.mq.MessageType;

import java.io.Serializable;
import java.util.List;

/**
 * 财务账单消息
 * @author wulg
 * @date 2022/12/16
 */
@Deprecated
@JSONType(typeName = MessageType.INVOICE)
public class CfInvoiceMessage extends AbstractMetaMessage implements Serializable {

    private static final long serialVersionUID = 1013710009264863016L;

    /**
     * 费用ID数组
     */
    private List<Long> chargeIdList;

    /**
     * 业务类型：1-货品采购; 2-销售订单; 3-MCN; 4-WMS
     */
    private Integer chargeSourceType = 3;

    /**
     * 财务信息id
     */
    private Long accountId;

    /**
     * 结算主体类型(1=红人；2=MCN客户；3=销售客户；4=货主，5=供应商)
     */
    private Integer balanceType;

    /**
     * 费用类型
     */
    private Integer chargeType;

    /**
     * 备注
     */
    private String remark;
}
